import { Module } from "@nestjs/common";
import { DeptService } from "./dept.service";
import { DeptController } from "./dept.controller";
import { TypeOrmModule } from "@nestjs/typeorm";
import { DeptEntity } from "./entities/dept.entity";
import { TenantService } from "@/modules/tenant/tenant.service";
import { TenantEntity } from "@/modules/tenant/entities/tenant.entity";

@Module({
  imports: [TypeOrmModule.forFeature([DeptEntity, TenantEntity])],
  controllers: [DeptController],
  providers: [DeptService, TenantService],
  exports: [DeptService],
})
export class DeptModule {}
